#include "../Unit--/unit--.h"
#include "../../wmi_reader.h"
#include "../../wmi_constants.h"
#include<iostream>

using namespace unit_minus;

testSuite(WMIReaderSuite);

testCase(WMIReaderRegistryTest, WMIReaderSuite)
{
    cout << "---------- Start Registry Test ----------" << endl;
	WMI_Reader read ;
	read.initConnection();

	WMI_Result<WMI_Registry> res;
    read.getRegistryChildren(EMPTY_PATH, res);
	res.showObjects();	

	
	assertTrue(res.getObjects().size() >= 0);
	read.closeConnection();

    cout << "---------- End Share Test ----------" << endl << endl;
    system("PAUSE");
}
